Add helper function to extract validation file identifier
requested to merge birk-generalise-validation-files into 112-flexible-validation-test-file-definition
As a first step I added a helper function which helps to obtain the identifiers of different validation files later on. E.g. we want to be able to extract the identifier "ttbar" from the string "X_valid_ttbar".
Edited by Joschka Birk