Correct typo in example.

Correct typo where getIp() was accidently typed as getId().