code: public static CharSequence getMarkupId(final Component component) {
          Args.notNull(component, "component");
          String markupId = component.getMarkupId(true);
          return escapeMarkupId(markupId);
      }
docs: Returns a markup id that is JQuery-safe and could be used as a selector.
  
  @param component the component which markup id should be return
  @return the component's markup id that is escaped so that it could be used as JQuery selector