Apply id_attribute throughout resources.

Replace def id overrides with id_attribute specification.
Only remining overrides are in telemetry meter which is resolved in
change https://review.openstack.org/#/c/121263 and unmerged commits.

Change-Id: I057678c2eb4c99628a00c3e4d6601f35d4a4bcac
Partial-Bug: #1368397
Merge "Apply id_attribute throughout resources."