Added a helper method to construct ObjectIds