The end is in sight for a bitter David-and-Goliath trademark battle between pop megastar Katy Perry and an Australian fashion designer.