pub fn validate_id(s: &str) -> Result<(), Error>
Checks if the given string is a legal identifier in wit.