we prefix the main-identifier with the eadid. if no eadid is given, the name of the xmlfile is used instead