From Salapia to Salpi: the Middle Ages of the city of Salt