Generally, the TSA doesn't scrutinize your identity but often conducts basic checks to ensure that the name on your ID aligns with that on your boarding pass. They also verify that the ID photo matches your appearance and may check the validity and expiry of your ID. Special devices like ultraviolet scanners are used to detect forgery. Such devices can potentially uncover more details about you, including any existing warrants.