Use route identifer for building routes

https://github.com/zfcampus/zf-hal/issues/9

This fixes incorrect use of resource identifiers as route parameter identifiers.