pub fn validate_name(name: &str) -> Result<(), ParseNameError>
Check whether a string name will be a valid input to Name.