extract ObjectID code into bson-objectid module