The first issue should be possible to deal with at OS level. Even if all the monitors send same serial number, OS should know in which port they are plugged in. Preferably things shouldn't swap if you swapped ports for your two monitors with properly unique serial numbers. But if the serial numbers are identical, ports seem like reasonable fallback since most people with multimonitor setups don't randomly unplug and plug them too often (except laptops).