[serialization] how for a particular object to get ID that is assigned by the lib

Boost-users