Added a helper method to construct ObjectIds

Made it so that ObjectId is a bit more Dart core-libs alike.