code: def split_node_id(nodeid, test_suffix=None):
      path, possible_open_bracket, params = nodeid.partition("[")
      separator = "::"
      test_name = None
      if separator in path:
          path, test_name = path.split(separator, 1)
      path = _unify_path(path)
      class_name = os.path.basename(path)
      if test_name is None:
          test_name = class_name
      if test_suffix:
          test_name += "::" + test_suffix
      if separator in test_name:
          klass_name, test_name = test_name.split(separator, 1)
          if not test_suffix:
              # test suffix is used for flakes and pep8, no need to add class_name as it's === class_name
              class_name += separator + klass_name
      if separator in test_name:
          test_name = test_name.split(separator)[-1]
      test_name += possible_open_bracket + params
      return yatest_lib.tools.to_utf8(
          class_name
      ), yatest_lib.tools.to_utf8(test_name)
  
imports: import collections
  import functools
  import math
  import os
  import re
  import sys
  import yatest_lib.tools
label_desc: Use image node_id 10 for calling a global function with example usage: split_node_id(nodeid, test_suffix) and returns: yatest_lib,  yatest_lib