Perhaps set_attribute() ? add get_attribute() too. Don't intermix color yet (unless you squash color and attribute into one field (which it technically is in all the supported targets)