@Override
    public boolean equals(final Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        final CustomId customId = (CustomId) o;

        if (!cluster.equals(customId.cluster)) return false;
        return elementId.equals(customId.elementId);
    }
A mock identifier for use in ensuring that custom serializers work around element identifiers.

@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/io/util/CustomId.java