pub fn tokenize(segment: &str) -> Vec<String>
Naive shell tokenizer for arity lookup: split on whitespace, keeping quoted runs together (the quotes are stripped, matching how the arity table keys are written).