public static String buildSelectorFromId(String idValue){
  if (StringUtils.contains(idValue,':')) {
    return buildSelectorFromAttributeTypeAndValue(ID_ATTR,idValue);
  }
  StringBuilder strb=new StringBuilder();
  strb.append(ID_SELECTOR_PREFIX);
  strb.append(idValue);
  return strb.toString();
}

public static String buildSelectorFromId ( String idValue ) { if ( StringUtils . contains ( idValue , ':' ) ) { return buildSelectorFromAttributeTypeAndValue ( ID_ATTR , idValue ) ; } StringBuilder strb = new StringBuilder ( ) ; strb . append ( ID_SELECTOR_PREFIX ) ; strb . append ( idValue ) ; return strb . toString ( ) ; }
create a selector of the form # $ idvalue
