pub fn validate_component(component: &str) -> Result<(), String>
Validate a single path component against the StructFS grammar.
Returns a human-readable description of the problem on failure.