Added option for different type of `_id`

The type of `_id` of a document could different than ObjectId, I think there should be a way to declare it.