pub fn matches_name(field_name: Option<&Name>, by_name: &Name) -> bool