Remove dead code
Remove dead code

This CR removes some unnecessary duplicate code from the
resource2.Resource._get_id method.  The interperter never executed
the right hand side of the or because this class implements a
__getattribute__ method that ensures that value.id will never be None.

Additionally, the logic of retrieving an alternate_id is already being
applied in the __getattribute__ method.

Change-Id: I2880ca74bd4d44e32d629807b0fd4ffd49f9fa55

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