pub fn validate_entity_id(field: &str, value: &str) -> Result<(), String>
Validate an entity ID string: non-empty, max 128 chars, alphanumeric + underscore + hyphen.