code: def id_generator(prefix="id", start=0):
      """generator that generatores unique consecutive id's starting with 'id' + number
  
      Can be reset with reset_id_generator()"""
      i = start
      while True:
          yield prefix + str(i), i
          i += 1
  
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 7 for calling a global function with example usage: id_generator(prefix, start) without return types