Get the class of an ivar.