function id = getRoiID(mapping,roiName)
if mapping.roiNameMap.containsKey(roiName)
    id = mapping.roiNameMap.get(roiName);   
else
     error('SubjectRoiMapping:getRoiID:noSuchName','this Mapping does not contain a ROI ''%s''',roiName);
end
end