Added support for getattr and setattr, getitem and setitem using python's shortcut syntax (. and [])