A Framework to Identify Online Communities for Social Media Analysis