We need the test labels to be reflected in the page id of the exported H...

Currently the "id" field on exported HARs does not contain the test labels which were assigned during test creation. This patch propagates the label value to the exported HAR so that we know which HAR is which
Why did you get rid of the underscores separating the components?  You should also be using $id_label in the id string instead of $label