bus@id selection of device

Propagating @mikerguson's pull request from groovy-devel branch to hydro-devel.