Add NpcId function for later restriction of wildcard quest accepts.
QUEST_LOG_UPDATES and QUEST_DETAIL do not arrive in a deterministic order.  Update the quest accept logic to be robust agaist the odd sequences.