Add device_id parsing in xmlparser.lua

Signed-off-by: Daniel Schnell <daniel.schnell.extern@ifm.com>