fn is_named_element_with_id_attribute(elem: &Element) -> bool