def _get_readable_id(id_name, id_prefix_to_skip):
 pos = id_name.find('//')
 if (pos != (-1)):
  pos += 2
  if id_prefix_to_skip:
   pos = id_name.find(id_prefix_to_skip, pos)
   if (pos != (-1)):
    pos += len(id_prefix_to_skip)
  pos = id_name.find('/', pos)
  if (pos != (-1)):
   return id_name[(pos + 1):]
 return id_name

def _get_readable_id ( id_name , id_prefix_to_skip ) : pos = id_name . find ( '//' ) if ( pos != ( - 1 ) ) : pos += 2 if id_prefix_to_skip : pos = id_name . find ( id_prefix_to_skip , pos ) if ( pos != ( - 1 ) ) : pos += len ( id_prefix_to_skip ) pos = id_name . find ( '/' , pos ) if ( pos != ( - 1 ) ) : return id_name [ ( pos + 1 ) : ] return id_name
simplified an id to be more friendly for us people .