Refactor method of looking up indirect labels
Refactor method of looking up indirect labels

Use a combination of getIndirectID() and getEnv() when looking
up labels when their values are specified in sysfs files
instead of getIndirectLabelEnv().

This is done so the ID is exposed and can be used later for
looking up thresholds.

Change-Id: I4d2399bb7717130e61a8aacc37e75f36f410c94e
Signed-off-by: Matt Spinler <c000c989d08c98662d98f15448f11de169feb92d@us.ibm.com>

openbmc/phosphor-hwmon,openbmc/phosphor-hwmon