Claire Girka : hidclass: Improve error handling in get_device_id.