set_attr function

Alias used to add an attribute