-raf_cast is always the identity, so might as well give it for NSObject
Added macro for rapidly mapping primitive models to classes