[inline]
Call this function to get an identifier for the dynamic object.
See TA::DynamicObject::SetID for more details.