Ideally this would be using get/set rather than this approach. Also, is this using dojo/data or dojo/store?