'Consume an identifier and return it.
Returns:
The identifier string. If quoted, the surrounding quotes are stripped.'

def __Identifier(self):

    logging.log(LOG_LEVEL, 'Try    Identifier')
    identifier = self.__AcceptRegex(self.__identifier_regex)
    if identifier:
        if (identifier.upper() in self.__active_reserved_words):
            self.__next_symbol -= 1
            self.__Error('Identifier    is    a    reserved    keyword')
    else:
        identifier = self.__AcceptRegex(self.__quoted_identifier_regex)
        if identifier:
            identifier = identifier[1:(-1)].replace('""', '"')
    return identifier
