code improvement in IdentifierParser

clean up recently added code
remove old cruft related to random-or-random-float