(#1442) Added doc_ids to genReplicationID.