Why do colleges ask if you have previously applied if they already have that information?

title

Application information is usually only kept for 2 or 3 years.

Some students change their surnames.

If John Smith applies today, how do they know he applied previously? It’s been a while since my older D’s application - do you include a SSN or other unique identifier?