Factorization and scaling in hadronic diffraction