nb_inContextOfType for NSManagedObject