parse paragraph id for each question