qdev: add user-specified identifier to devices.