NH Add type

This commit adds 'type' based on the 3-character prefix of the id (I am guessing that is appropriate, but seems plausible).