Trivial: Remove redundant variable

As I5b077f403e22ce1ff6833bc397afd21bf4d3e498, we can
simply do self.***['id'] instead of create a new variable. But
some other files are also the case. This patch changes these files
to make the code consistent.

Change-Id: Id317f81362a2c066994cc3385c2401494382de6e
6 files changed