protected String getIndex(int number, boolean labels) {
        return labels ? getName() : String.valueOf(number);
    }
Returns the value of getName if true, the given number as a string otherwise
config-model/src/main/java/com/yahoo/schema/derived/Derived.java