Split off some of setQuestionAndAnswerIds() into
getQuestionAndAnswerIds()