If your ID is checked or scanned at the airport, it is to make sure you are the person to whom that boarding pass was issued to, by checking your name/surname and photo. Long story short, TSA sees bare minimum nformation required to make sure you are yourself and that the boarding pass is yours.