Determining the symmetry of polyhedra