include bad identifier in error message if it contains blanks