Reports an error if the current token is not an identifier.
The error message ID to be used.
The identifier token or null.
See Implementation
Reports an error if the current token is not an identifier.