Modify RootResource id generation.
Merge pull request #115 from adrian-rosello/improvement/id-generation-rootresource

Modify RootResource id generation.