Classification of knots vs. links in contact manifolds