set id for the single data point