core.get_device()
device id (string).
return:
device
(table) or nil in a case of an error