Set the value of an SOS attribute.
Set the value of an int-valued attribute.
Arguments:
attr: The attribute being modified.
newvalue: The desired new value of the attribute.