etcdserver: add id tracker

fixes #1064