Give a clue as to the class when trying to assign to an invalid attribute