Moved report naming out of the macros and into the scripts. Updated processing of the references field to match the slugifying that is done by the dwc_indexer.