code: protected void appendId(StringBuffer html, String id) {
  
          html.append(" name=\"");
          html.append(id);
          html.append("\" id=\"");
          html.append(id);
          html.append("\" ");
      }
docs: Appends the HTML form name/id code for the given id to the given html.<p>
  
  @param html the html where to append the id to
  @param id the id to append