(PDB-708) reduce type id conversion back and forth

Signed-off-by: Ken Barber <ken@bob.sh>