IN PROGRESS - issue YZABP-26: CP - Goals pages 
https://illuminadev.co.uk/jira/browse/YZABP-26

Use the reference ID, not name when building the goals array.
Fix various assumptions about the wrappers being present as these can be
explicitly suppressed when there have been no entries at some stage of
the request.