changed deviceId reference to fingerprint

Some old stuff from my idempotent branch.