The ID is in the item's URL. Open the item page in your browser and look at the address bar — the number at the end of the URL is the item's ID.
That number is what you use in scripts and gear references, so it is worth copying it exactly. Roblox item pages follow a consistent pattern, which means the last segment is always the identifier regardless of what the item is.