What is the best way of auto assing a id with an value for a object of a specific class?
Use a class var to count the number of instances? Would that limit the number of delphi supported, is fpc capeable of such a thing? Or are the better ways?

Thanks for your answers in advance.