(#1442) Added doc_ids to genReplicationID.
Fixed spacing to remove lint errors from previous commit.