How did changing ideas about what made up the Roman community help the Roman Empire survive and later contribute to its decline?