@Override
    public AttributeReference newInstance() {
        return new AttributeReference(name, dataType, metadata, NamedExpression.newExprId());
    }
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