On 1.9.2, BasicObject does not define __id__.

This was added in 1.9.3:

http://bugs.ruby-lang.org/projects/rurema/repository/revisions/5085

So, in order to support mocking or stubbing a BasicObject-based proxy
in 1.9.2, we need some special handling.