code: def get_choice_id(index):
      global __choice_ids
      while len(__choice_ids) <= index:
          __choice_ids.append(wx.NewId())
      return __choice_ids[index]
  
imports: import wx
  import wx.lib.masked
  from cellprofiler_core.constants.measurement import C_FRAME
  from cellprofiler_core.constants.measurement import C_METADATA
  from cellprofiler_core.constants.measurement import C_SERIES
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.preferences import get_primary_outline_color
label_desc: Use image node_id 1 for calling a global function with example usage: get_choice_id(index) and returns: __choice_ids