Support strings, ints, and ObjectIds for _id

This is the first solution suggested in my bug report for issue #7. It makes things work when _id is an integer, string, or ObjectId, which is enough to let me use mongoadmin. It is broken when the _id is a string that happens to be an integer such as the string "12". It is also broken for more obscure types of _ids.