Dualities and symmetries in string theory