TITLE: Generalised linking numbers (where they shouldn't be)
QUESTION [5 upvotes]: One can define the linking number of disjointly embedded curves $K,L\subset S^{3}$ in a variety of ways, as is discussed in Chapter 5.D of Rolfsen's "Knots and Links". One way is the Gauss Integral
$$\mathrm{lk}(K,L) = \frac{1}{4\pi}\int_{K\times L}\dfrac{\mathbf{x}-\mathbf{y}}{|\mathbf{x}-\mathbf{y}|^3}\cdot\mathrm{d}\mathbf{x}\times \mathrm{d}\mathbf{y}$$
(or symbols to that effect). This will be an integer when the curves are closed, and a real number in general. 
The integral formula has been generalised to deal with the case of disjointly embedded closed manifolds $K^{k} ,L^{\ell}\subset S^{k+\ell+1}$ (see here and here for example). Presumably these formulas output real numbers when the manifolds $K$ and $L$ have boundaries.
My question concerns the situation of disjointly embedded submanifolds $K^k,L^\ell\subset S^n$, where $k+\ell >n-1$. Is there a useful notion of linking number in this case? For instance, take a surface and a curve in $3$ dimensions (so $k=2$, $\ell=1$ and $n=3$ in the above). Then we could try to define the linking number by somehow "integrating" $\mathrm{lk}(\gamma,L)$ over closed curves in $\gamma\subset K$. 
This generalised linking number should be able to measure, say, how many times a curve passes through a length of tube.
Have such things been considered useful before? Or am I just talking nonsense? 
Added: As Ryan points out in his comment, I'm not really looking for an isotopy invariant. Also (thanks to Kevin and Tom's answers) I'm slowly coming round to the idea that a single number won't really tell you much about the relative positions of the manifolds, but maybe a matrix valued function (with rows and columns indexed by homology bases for $K$ and $L$ in the appropriate dimensions) might be useful.

REPLY [5 votes]: Just to mention here the ``linking numbers'' introduced by A.Haefliger [1]: for an embedding $f\colon S^k\sqcup S^l\to S^n$ he defines the linking number as certain element $$\lambda_1(f)\in\pi_k(S^{n-k-1}\vee S^{n-l-1}).$$
This invariant is stronger than all the homological invariants discussed above and than the $\alpha$-invariant suggested by Paul. However, it is still incomplete isotopy invariant. 
[1] A. Haefliger, Enlacements de spheres en codimension superiure a 2, Comm. Math. Helv. 41 (1966-67), 51-72 (in French).