class_docstr: NAS Tuner using Evolution Algorithm, with weight sharing enabled
docstr: generate new id and event hook for new Individual
docstr_tok: ["generate","new","id","and","event","hook","for","new","Individual"]
code: def generate_new_id(self):
      """
      generate new id and event hook for new Individual
      """
      self.events.append(Event())
      indiv_id = self.indiv_counter
      self.indiv_counter += 1
      return indiv_id
  
imports: import copy
  import json
  import logging
  import random
  import os
  from threading import Event, Lock, current_thread
  from nni.tuner import Tuner
  from nni.utils import extract_scalar_reward
  from graph import Graph, Layer, LayerType, Enum, graph_dumps, graph_loads, unique
label_desc: Use image node_id 2 for calling the CustomerTuner obj's underlying member method code with example usage: obj.generate_new_id() and returns: indiv_id