public boolean sameRef(AttributeReference other) {
        return this.exprId == other.exprId;
    }
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