code: def generate_id():
      """Generate a new, unused integer job id."""
      global _ID_COUNTER
      _ID_COUNTER += 1
      return _ID_COUNTER
  
imports: import enum
  import importlib
  import os
  import pickle
  import re
  import subprocess
  import sys
  import tempfile
  import time
  from dataclasses import dataclass, field
  from functools import partial
  from typing import Any, Callable, Dict, List, Tuple, Union
label_desc: Use image node_id 2 for calling a global function with example usage: generate_id() and returns: _ID_COUNTER