The resource repr method should print id

The resource repr method should print id of the resource.

Change-Id: I5d432c70c27d3ad7e29a77d6af7043a7b1d369b6
Merge "The resource repr method should print id"