get_element_id is used in ParserBase