Migration Board / Swedish ID (Stockholm)

I wanted to know how the rest of you went about getting your Swedish ID number. I am from Canada, but my wife is an EU member. Really we're curious where we go if we are based in Stockholm to request our numbers, specifically so I can sign my son up for preschool and start looking for work.