Don't allow atomic operations on read-only attributes

not sure if should raise an error ReadonlyAttribute