Use an ObjectId dict to allow for precompiling.
Merge pull request #43 from MichaelHatherly/mh/objectid-dict

Use an ObjectId dict to allow for precompiling.