Adding automatic id for points assignments