code: def _split_illegal_unicode_name(token, start_pos, prefix):
      def create_token():
          return PythonToken(
              ERRORTOKEN if is_illegal else NAME, found, pos, prefix
          )
  
      found = ""
      is_illegal = False
      pos = start_pos
      for i, char in enumerate(token):
          if is_illegal:
              if is_identifier(char):
                  yield create_token()
                  found = char
                  is_illegal = False
                  prefix = ""
                  pos = start_pos[0], start_pos[1] + i
              else:
                  found += char
          else:
              new_found = found + char
              if is_identifier(new_found):
                  found = new_found
              else:
                  if found:
                      yield create_token()
                      prefix = ""
                      pos = start_pos[0], start_pos[1] + i
                  found = char
                  is_illegal = True
  
      if found:
          yield create_token()
  
imports: from __future__ import absolute_import
  import sys
  import re
  from collections import namedtuple
  import itertools
  from codecs import BOM_UTF8
  from parso.python.token import PythonTokenTypes
  from parso.utils import split_lines
label_desc: Use image node_id 12 for calling a global function with example usage: _split_illegal_unicode_name(token, start_pos, prefix) and returns: PythonToken