A few things to take note off:
COGS:
Unigide (UG) Evenly spaced grooves and tabs on the cog. Sharp edge should be installe 'in' but they be flipped over and installed sharp edge out.
Hyperglide (HG): Same groove and tab construction as unglide except for 1 tap thats wider the others. 'HG' cogs also have contoured teeth and 'reliefs' cut into the face of the cog. Stamped lettering faces out.
InterGlide (IG): Same as HG with the addition of 'reliefs' on the back side of the cog as well as the front. Stamped lettering faces out.
HUBS:
Uniglide (UG) hubs have and externaly threaded freehub body. If a cog can screw onto it its UG compatible. HG/IG cogs can be used if the wide HG/IG tab is ground down narrow. A UG cog is still needed to hold everything in place.
Hyperglide (HG) and Interglide (IG) have thread inside the freehub by the axle. Unglide cogs will work on thses hubs but they need to be held in place with a HG/IG lock ring which may require the need for a HG/IG high gear cog.
Hybrid hubs: Have both the external threading and inside threading. All UG, HG and IG cassettes will work on these hubs.