Extend param2id() to work with uuids

Add uuid support to param2id() to allow commands including
cinder-manage volume delete to work with uuid style volumd ids

Fixes bug #1158409

Change-Id: I2d197320b61f44d1104ed0342a6b5b70f673468a
(cherry picked from commit e1561b8f8a05f3cd6b8635683b178f924384de65)
Merge "Extend param2id() to work with uuids" into milestone-proposed