- Added an auxiliar class ResourceIDsGenerator.
- Now ServerPrimitivesManager uses an object of previous class ResourceIDsGenerator.