Convert local variable checklistId to field