Improved getIdentifierString