So, people..
Over the course of many games, I've developed a system for housing the dwarves.
Before the economy starts, I do not designate a single bed as a room (except for nobles). I do lay out lot and lots (around 200) of 1x5 rooms with a bed, cabinet and coffer. 50 rooms are left at that. 50 rooms have the walls smoothed, 50 get full smoothing. The last 50 are smoothed and have their floor tiles engraved as well. 10x 1 engraving, 10x 2 engravings, ... , and 10x 5 engravings. Also, I build some bunk rooms, with 4 beds in one room (and a layout that allows for the room blueprints to overlap, but gives each bed its own cabinet and coffer in non-overlapping space)
And I always place my first few beds in the barracks.
For extra price variation, I toy around with cabinets, -cabinets-, coffers, -coffers-, beds and -beds-. No +beds+ or better, or there will be trouble with nobles being upset over a lessers pretentious... ah, well, you know the drill.
Then, when the economy starts, first thing I do is designate enough bedrooms for all legendary dwarves, and assign those to them. If they have partners, I make it a priority to get them to legendary as well. Mining skill works pretty fast for this. If I do not do so, their room will soon overflow with coins. (With a non-legendary partner earning money and not having to pay rent)
After that is done, I designate rooms from the 10 beds in the most expensive setting. (5x engraved). There will probably no dwarf that can afford those, but you never know. So I wait a year. One reason is, that at the beginning of the economy, dwarves do not have money. They'll have to earn it first. Apart from that, it takes some time for a dwarf to occupy a room.
Then, I proceed to repeat this procedure for the next 10 most expensive rooms.
Now I only wait half a season for occupation before moving to the next steps.
Repeat until all beds are designated as rooms. Bunk beds last. (overlapping rooms reduces value to 1/4)
I always keep 5-10 free bed in my barracks for the wounded. Soldiers are set to sleep in their rooms.
This way, I've eliminated the problem of rich-bastard-dwarves occupying cheap rooms meant for the peasants. Almost no evictions as well.
Easy way to keep track from here if your dwarves live in too cheap a room: their coffer will fill with coins. When it is full, it is easy to spot loose coins in the living quarters. What I do then is give the dwarf another coffer to store coins (raising the rent also by it's value) and/or apply smoothing to one tile if not already there. I don't engrave. A masterpiece engraving would raise rent way too much
When all your dwarves are housed, kill as many children as possible and drown your champion's favourite dog while crushing the mayor (who has many friends) under a drawbridge. Watch the tantrum spiral and be strengthened in your belief that utopia does not exist.
With this setup, I've never had any troubles caused by the economy.
How do you go about providing housing for your dwarves before and after the economy?