createClassLabel and createFieldIdentifier simplified