Use _id from event if defined

document_id does not work well when primary keys are only optionally present in the input data. This happens in diverse deployments or during phasing. Reusing the _id field seems to be the better option there.