Added pattern checks for monster/quest IDs to prevent non numerical values