Allow foo_name as well as foo_id in paths

Ceilometer has recently replaced 'meter_id' by 'meter_name', so 'foo_name'
should be allowed.

Change-Id: I702346935919d7f0df49c20cc14cfcbc6e85a17b