Modify RootResource id generation.