pub fn validate_endpoint_id(id: &str) -> Result<(), IdError>
Validate an addressable endpoint id/name against the charset contract. Returns Ok(()) if every scalar is allowed and the length is in 1..=MAX.
Ok(())
1..=MAX