code: def get_full_name_by_scope_name(
      ir_model: GraphModelSpace, scope_names, prefix=""
  ):
      full_name = prefix
  
      for last_scope in range(len(scope_names)):
          ir_node = ir_model.get_node_by_name(full_name)
          # check if it's layerchoice
          if is_layerchoice_node(ir_node):
              full_name = f'layerchoice_{ir_node.operation.parameters["label"]}_{scope_names[last_scope]}'
          else:
              full_name = build_full_name(
                  full_name, scope_names[last_scope]
              )
  
      return full_name
  
file_path: nni/nni/nas/space/pytorch/converter/utils.py
imports: from typing import Optional
  from typing_extensions import TypeGuard
  from nni.nas.space.graph import Cell, GraphModelSpace, Graph, Node, Edge
label_desc: Use image node_id 7 for calling a global function with example usage: get_full_name_by_scope_name(ir_model, scope_names, prefix) and returns: full_name