code: def yield_id(return_i=False):
      """yields the next unique consecutive id. Reset using reset_id_generator()"""
      global id_gen
      str_id, i = next(id_gen)
      if return_i:
          return str_id, i
      return str_id
  
imports: import sys
  from abc import ABC
  import inspect
  import types
  from typing import Union, List, Tuple
  from pathlib import Path
  from importlib import import_module
  import socket
  import dash
  from dash import html, dcc, Input, Output, State
  from dash.exceptions import PreventUpdate
  import dash_bootstrap_components
  from .None import to_html
label_desc: Use image node_id 9 for calling a global function with example usage: yield_id(return_i) and returns: str_id, str_id,  i