buildLabelReferences function

Build a list of references that map likelihood names to integer labels for later use