g.getidfromheaderobject: Extracts participant identifier from header object
Description
Extracts participant identifier from header object, if
it can not be found then the filename is used as identifier.
Function is not intended for direct interaction by package end user