create util functions to make unique names, and to translate string into valid identifiers.