instrument_attr function

Add or change an attribute of an instrument