Convert local variable actionId to field