Fix capitalization and tests of $this->mId.

Property name is $mID, certain parts were testing $mId, and then
using isset to (presumably) hide the undefined property warnings.

Change-Id: I0c2d29fbdb8314aa0c04bea387364a7307e68b9b
Merge "Fix capitalization and tests of $this->mId."