CN-1 proper way to get next table row id