fix device id regex

Hope will be usefull. Symbol '_' is often used in local names, despite of RFC