changed the namevar from deviceid to netconnectionid

it is difficult to identify network adapters based on deviceid
particularly on multi-homed systems.

instead we will use the netconnectionid, which defaults to
local area connection or ethernet on windows 2008 and 2012
respectively.

additional cleanup is necessary as this is just a preliminary
code change.