code: public void setLocalID(String userID) {
      try {
        this.localID = URLEncoder.encode(userID, "UTF-8");
      } catch (UnsupportedEncodingException e) {
        logger.error("UnsupportedEncodingException " + e.getMessage(), e);
        e.printStackTrace();
        throw new RuntimeException(e);
      } ;
    }
docs: Sets the bridge id.
  
  @param userID the new bridge id