Generalized scaling of the transverse mass spectrum at the relativistic heavy-ion collider