code: def pattern(name, pattern):
    
    pattern.setName(name)
    astracing.maybe_trace(pattern)
    return pattern
docs: Function to put a name on a pyparsing pattern.
  
    Just for ease of debugging/tracing parse errors.