Get persistent ID of a TopoDS_Shape

I would like to know if i can define a persistent ID for my shapes.
I load some iges file than process their shapes and I save all the resulting geometry in a custom file. I would like to assign a unique persistant ID to each shape in my file. It is possible with any built in feature?'s picture

I think there is no such functionality, but it isn t difficult to realize that. Expand TopoDS_XXX and add an ID with a getter and setter and recompile. I did same for AIS_XXX.