code: def _get_next_step_name(control_name, base_name):
      global _current_idx, _used_step_names
      concat_name = "%s/%s" % (base_name, control_name)
      next_name = concat_name
      while next_name in _used_step_names:
          next_name = "%s_%d" % (concat_name, _current_idx)
          _current_idx += 1
      _used_step_names.add(next_name)
      return next_name
  
imports: from caffe2.python import core
label_desc: Use image node_id 1 for calling a global function with example usage: _get_next_step_name(control_name, base_name) and returns: next_name