def __process_identifier(self, identifier):
    if ('(' not in '{}'.format(identifier)):
        self._table_names.add(SupersetQuery.__get_full_name(identifier))
        return
    if hasattr(identifier, 'get_alias'):
        self._alias_names.add(identifier.get_alias())
    if hasattr(identifier, 'tokens'):
        if (identifier.tokens[0].ttype == Name):
            self._alias_names.add(identifier.tokens[0].value)
    self.__extract_from_token(identifier)
def __process_identifier(self, identifier):
    if ('(' not in '{}'.format(identifier)):
        self._table_names.add(SupersetQuery.__get_full_name(identifier))
        return
    if hasattr(identifier, 'get_alias'):
        self._alias_names.add(identifier.get_alias())
    if hasattr(identifier, 'tokens'):
        if (identifier.tokens[0].ttype == Name):
            self._alias_names.add(identifier.tokens[0].value)
    self.__extract_from_token(identifier)