The idea that we are unaware of much of out mental life, first developed by Hermann Helmholtz, is central to psychoanalysis. Freud has added the interesting idea that although we are not aware of most instances of mental processing, we can gain conscious access... by paying attention.
In Search of Memory (2006)