Move to dynamic dispatch. Add support for IoAllocation* in rs.spec.

Change-Id: I013409cbb758ce5aae78347acb39c43d07aeb9bf
diff --git a/cpp/BaseObj.cpp b/cpp/BaseObj.cpp
index fa7d73c..814e552 100644
--- a/cpp/BaseObj.cpp
+++ b/cpp/BaseObj.cpp
@@ -51,7 +51,7 @@
 
 void BaseObj::updateFromNative() {
     const char *name = NULL;
-    rsaGetName(mRS->getContext(), mID, &name);
+    RS::dispatch->GetName(mRS->getContext(), mID, &name);
     mName = name;
 }