Added a class instance counter for common.CGObject so objects can have a unique name in the scene.