Support entity type in _parser_get_url_by_entity_id()