code: public static String extractUserNameFromScopedName(byte[] scopedNameBytes) throws UnsupportedEncodingException {
          String scopedUserName = new String(scopedNameBytes, "UTF8");
          return extractUserNameFromScopedName(scopedUserName);
      }
docs: See csiv2 spec 16.2.5 par. 63-64. We extract the username if any and un-escape any
  escaped \ and @ characters.
  
  @param scopedNameBytes
  @return
  @throws UnsupportedEncodingException