public static String asValidIdentifier(String str) {
        return str.replaceAll("[^\\w\\d\\$@_]", "_");
    }
Converts a ONNX model into a ranking expression and set of constants.

@author lesters
model-integration/src/main/java/ai/vespa/rankingexpression/importer/onnx/OnnxImporter.java