private boolean sameAs(Identifier[] idSet, Identifier[] variables){
        boolean result = idSet.length == variables.length;
        for(int i = 0; i < idSet.length - 1 && result; i++){
            for(int j = i+1; j < idSet.length && result; j++){
                result = !idSet[i].equals(idSet[j]);
            }
        };
        for(int i = 0; i < idSet.length && result; i++){
            boolean answer = false;
            for(int j = 0; j < variables.length && !answer; j++){
                answer = idSet[i].equals(variables[j]);
            };
            result = answer;
        };
        return result;
    };