Retirement tax questions

Great, then how does the IRS differentiate between Roth and Roth IRA money when it comes time to withdraw tax free in retirement? Is the 1099-R filed now sufficient for them to service this. Thanks!