@@ -0,0 +1,668 @@
+package net.kuujo.vertigo.output.selector;%0A%0Aimport org.vertx.java.core.json.JsonObject;%0A%0A/**%0A * An abstract selector implementation.%0A *%0A * @author Jordan Halterman%0A */%0Apublic abstract class AbstractSelector implements Selector %7B%0A%0A  protected String grouping;%0A%0A  protected AbstractSelector() %7B%0A  %7D%0A%0A  protected AbstractSelector(String grouping) %7B%0A    this.grouping = grouping;%0A  %7D%0A%0A  @Override%0A  public String getGrouping() %7B%0A    return grouping;%0A  %7D%0A%0A  @Override%0A  public JsonObject getState() %7B%0A    return new JsonObject().putString(%22grouping%22, grouping);%0A  %7D%0A%0A  @Override%0A  public void setState(JsonObject state) %7B%0A    grouping = state.getString(%22grouping%22);%0A  %7D%0A%0A%7D%0A

Add grouping identifiers to selectors.