If you check-in using the self service machines you get a brown boarding pass, which is checked at the gate against a passport/id
If you person check-in your passport is checked there, and you are given a blue boarding pass. At the gate in Heathrow they tend not to check your passport. Outstations are much more strict.
(My first post in years on pprune.)