Add interop for retrieving the identifier of a task.