fix new findbugs warning

Make RefObjectId a static nested class, since it does not need access to the methods of the class inside which it is nested.