Always best to call `setAttribute()` against rather than side-effecting the value returned by getAttribute. Otherwise brooklyn won't know the value has been modified so won't trigger persisting it. And when we run with distributed brooklyn then the change may be entirely lost (as it won't have been written to the datagrid).