private String[] toArray(String csv) {
        String[] array = csv.split(",");
        for (int i = 0; i < array.length; i++)
            array[i] = array[i].trim();
        return array;
    }
Throws an exception if the name is not corresponding to the id
container-search/src/main/java/com/yahoo/search/query/profile/config/QueryProfileXMLReader.java