transform_attributes allows for arbitrary transforms on groups of attributes

how about just `transform`? Also, perhaps rename `name` to `attribute`?