Made GameObject id methods and tests.