nvhw: Add a new generic pmc_id parsing function.
nva: Use the common pmc_id parsing function.