Make sure ids are unique for Document