Reference device by its name instead of ID

It seems this was removed ;(