code: def ConsumeIdentifier(self):
      
      result = self.token
      if not self._IDENTIFIER.match(result):
        raise self._ParseError('Expected identifier.')
      self.NextToken()
      return result
docs: Consumes protocol message field identifier.
  
      Returns:
        Identifier string.
  
      Raises:
        ParseError: If an identifier couldn't be consumed.