code: public static <T> Label newLabel(final String id, final String forId, final IModel<T> model)
  	{
  		final Label label = new Label(id, model);
  		label.add(new AttributeAppender("for", Model.of(forId), " "));
  		label.setOutputMarkupId(true);
  		return label;
  	}
docs: Factory method for create a new {@link Label} with the for attribute.
  
  @param <T>
  the generic type of the model
  @param id
  the id
  @param forId
  the for id
  @param model
  the model
  @return the new {@link Label}