"workflow" is a reserved name in vCO scripts and should highlight as red in the editor. It is actually the WorkflowToken object of the current workflow run. Though "id" is also not documented in the API explorer for WorkflowToken it is the UUID of the workflow token.
Dan.