convert treatment urls from params to url fragments for caching
allow attributes to be assigned