2 small fixes: in NdArrayResolver and changeAttrExpression

Maybe it is also a good idea to add in DefaultResolver some logic for additional dictionary values evaluation in case of class has __getitem__ method.