Bugfix: rpc id was always 1

Make __id_count a class variable, so it is incremented properly.

Discovered when I added RPC logging (see #31).