Get the ID of a single sub-resource
Get the ID of a single sub-resource

We currently have the ability to loop through all attributes on a
resource and get values which are safe to send in a request body, such
as converting the IDs of subresources. However, it would be helpful in
several cases to be able to get the ID of just one specific attribute
when overriding Resource methods. A lot of the Resources that have paths
like /images/%(image_id)/tag that need an override also need to get the
ID of the image.Image that it's set as.

Change-Id: I8d2c79ebaceb4135ab605510d009432d7d5307f3

briancurtin/python-openstacksdk,mtougeron/python-openstacksdk,openstack/python-openstacksdk,dtroyer/python-openstacksdk,briancurtin/python-openstacksdk,openstack/python-openstacksdk,stackforge/python-openstacksdk,stackforge/python-openstacksdk,dudymas/python-openstacksdk,dudymas/python-openstacksdk,dtroyer/python-openstacksdk,mtougeron/python-openstacksdk