fix incorrect error message
set_attribute_id

Not sure how to test this one.