@Override
    public boolean semanticEquals(Expression other) {
        return (other instanceof AttributeReference) && sameRef((AttributeReference) other);
    }
Returns true iff the expression id is the same for both attributes.
indexr-query-opt/src/main/java/io/indexr/query/expr/attr/AttributeReference.java