In Australia (and presumably the UK) diphenhydramine is referred to as a first generation antihistamine. It's been largely replaced by those other ones like cetirizine.
Yeah, diphenhydramine is available as a sleep aid because of the drowsiness side effect.
https://www.healthdirect.gov.au/medicines/medicinal-product/aht,22404/diphenhydramine