Adds a function to generate chain names for use in iptables and ports all drivers to use that function. Also adds tests for the said function.