Support for using [] and []= to manage attributes