Display id of unobtainable items

I found an npc on retail with an unabtainable weapon. How do I find the id for said weapon so I can create a custom it?

idk…
tried

but
never could figure that one out.