Projection describes the habit of removing our own disturbing thoughts by attributing them to someone else, whereas identification is changing ourselves to become more like someone we admire.
As we mature from late childhood into adulthood, we rely less on ‘denial’ (ignoring upsetting thoughts) and instead use progressively more ‘projection’ and ‘identification’.