Distinguishing gauge-mediated from unified-supergravity spectra