pub(crate) fn extract_name_attribute(variant: &Variant) -> Option<String>
Extract the string value from a #[name = "..."] attribute if present
#[name = "..."]