I have a parent class whose child classes are each assigned a different managed object. Each managed object is a subclass of NSManagedObject and is assigned to a different entity in my data model. My entities share attribute names; therefore, my managed objects share property names. In the parent class's .m file, I want to insert code that will edit one of the properties of the currently-active child class's managed objects. How should I do this?