right way to create document id