Move `attributes_before_type_cast` to `AttributeSet`

I'm avoiding a method named `values` for that reason, but I do not think the same is implied from this method name.