Move table id to constant