Basic code for validating national ID input like SSN, NHC, and more.