modified check old national id method
refactored check old national id method in dde service