Detecting degree symmetries in networks.