shift id checking made unique