pub(crate) fn is_name(text: &str) -> bool {
let mut bytes = text.bytes();
bytes.next().is_some_and(|byte| byte.is_ascii_lowercase())
&& bytes.all(|byte| byte.is_ascii_lowercase() || byte.is_ascii_digit() || byte == b'-')
}
pub(crate) fn is_dotted_name(text: &str) -> bool {
text.split('.').all(is_name)
}