get / save device id