core.get_root_device_id()
params: child device id (string).
return: device_id (string) or nil in a case of an error.