fn nonempty_reference(value: &str) -> String
Normalize an empty parser reference into one stable diagnostic identity.