Does someone happen to know where exactly in Krakow we need to apply for a pesel number?
Once you've got a valid residency document for more than 3 months, just go to the local Urzad Miasta that deals with registration issues.
No need to fill anything in - they'll do it all for you.