Set uid to BroadphaseProxy wrapper class

otherwise "if (broadphaseProxy->getUid() == proxy->_uid)" will always fail
Mufti-threading protection for ObjectTable operations