Structural lubricity: Role of dimension and symmetry