Swimmers taking part in the World Championships in Rome next month will have to submit to a special “barcode” test as part of a crackdown on performance-enhancing suits.