It is known (see for instance https://math.stackexchange.com/a/42020) that "the homotopy type of a CW complex is entirely determined by the homotopy classes of the attaching maps". What is the precise statement of this result? Can it be found somewhere?
Related to this, is there a (more or less "established") notion of isomorphism between CW-complexes? Something like the following:
$X \sim Y$ if $Y$ is obtained from $X$ changing the attaching map of some cell $e^n$ by homotopy (and somehow adapting the attaching maps of higher-dimensional cells);
$X$ is isomorphic to $Y$ if $X=X_1 \sim X_2 \sim \dots \sim X_n=Y$.
The key to this statement can be found, for example, in Hatcher's book Algebraic Topology:
Here "CW pair" means that $X_1$ is a CW complex and $A$ is a subcomplex. Now you can apply this proposition to $(X_1, A) = (D^n, \partial D^n) = (D^n, S^{n-1})$ to see that if an $n$-cell is attached to a space $X_0$ by two homotopic attaching maps $f,g : S^{n-1} \to X_0$, then the resulting spaces $X_0 \cup_f e^n$ and $X_0 \cup_g e^n$ are homotopy equivalent.
Now it is simply a matter of induction and bookkeeping (and if your CW complex is not finite, you need to recall the definition of the weak topology; I'll focus on the finite case here). In small dimensions:
You can continue this reasoning by induction: a CW complex is uniquely determined by its $1$-skeleton, by homotopy classes of attaching maps in $[S^1, X_{(1)}]$, then by homotopy classes of attaching maps $[S^2, X_{(2)}]$, etc. This is what is meant by the statement.
Note that the CW complexes obtained are not isomorphic (I guess that would mean a cellular homeomorphism), they are homotopy equivalent, in the sense that they have the same homotopy type.