in reply to Random Text: There's got to be an easier way
If the ids might be spoken (say, to an agent over the phone), you might consider producing them according to an easy-to-speak, easy-to-hear pattern. Something like
Consonant-vowel-consonant-digitBy using a predictable pattern, miscommunication is minimized. Since an agent knows to listen for a digit in the fourth and eighth position, zero and one are unambiguous.
Consonant-vowel-consonant-digit
If you're concerned about accidentally generating "dirty" words, try
Consonant-consonant-vowel-digitThis lessens the odds.
Consonant-consonant-vowel-digit
|
|---|