Hmm.. to my knowledge the anime hasn't stated specifically how they came to be known as the sannin. This question might be better answered in the Naruto Open Discussion forum since I'm not sure if there are any definitive answers from the anime just yet.