Using RL to Identify Divisive Perspectives Improves LLMs Abilities to Identify Communities on Social Media