I know of no surefire way, occasionally you will come across labels inside a garment which has handwritten notes by the wardrobe supervisor, i.e. name: Frakes lot: Riker
I do know that the genuine costumes used in the series ranged from $5000 to $10000 each and most of the cast had trouble securing keepsakes, for this reason there are a lot of fakes out there.