make `paramAttribute` deal with attributes containing dashes