How are larger American military units constituted and where do they get their numbers?

I gather that there have been changes in the force structure of the American military in that divisions are constituted as needed from standing battalions, brigades and/or regiments. Is this accurate? Also, how are their numbers assigned?