Bound by semanticity: universal laws governing the generalization-identification tradeoff