Creates a string satisfying requirements for entity id in TeamCity. Can be used to generate an id from a name.
an optional prefix to add to the id