pub fn from_name(name: &str) -> Option<u32>