Several fixes regarding renaming

OK... it seems to make sense, but still I have some doubts to clear up:
- The `:num` widget should be renamed to :devname to complete the fix of the confusion.
- `:num` is assigned to `vlan_id` in one place, WTF.