Update pebble.py

Save id in variable, not just object property