If you're on the shirt's page, look at the URL—the string of numbers at the end is the ID. Alternatively, in Build Mode, wear the shirt and select your Robloxian in the Workspace; the ID appears at the end of the URL there too.