udev: net_id - use constants rather than magic numbers

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>