First draft of object model chapter

The only reason it's name `g_A` is that otherwise it would clash with the function `g_B` that comes just after. I went and also used this kind of mangling in the other tests. I didn't think adding a sentence about this would have made it less confusing, so I didn't do that.