I'm using named parameters in a query to match fields in a map-like data structure. The data structure can have fields, or another map-like data structure. This nested structure is repeatable ad nauseum.
I would like to name the parameters in the query using an XPath like language, that can be parsed to indicate further nested lookups.
So the question is, what characters are legal in a named parameter declaration?