Can pull out categories belonging to an idea from the database.