Chop the shallot and grate the garlic and ginger. Add the vinegar, and sugar. Mix well or crush in a pestle and mortar. Add the lime and grate the peel if it’s an unwaxed fruit. Dress the salad and sprinkle with the Thai herbs (I used Thai basil and coriander) and the chopped fresh chilli to your taste.