Device identification

First patch is a small fix to the enum so that we can lookup a value and get the corresponding key.
The old code just returned back the same value again :-(

Second patch adds support for the device identification vpd and a tests for the unmarshalling.