The de Bruijn-Erd\"os theorem in incidence geometry via Ph. Hall's marriage theorem