CXX-180 Generate _id client side automatically for inserts

I think you can simplify a little by reversing the check:

if (!current.hasField("_id")) {
    BSONObjBuilder bob;
    // add id
    // add existing elements
    current = bob.obj();
}

inserts.enqueue( new ... (current));