I don't know if setAttribute is the best name for this as it doesn't set an attribute. Maybe it could be called tear-down to match the attribute you are setting, or valueForAttribute or the like