The structure of tame and wild sets