You've found an interesting corner of the market.
I was partner in a hedge fund that hired a equity trader once. He's the only trader I've ever met who begged a broker to be nice to him.
So how does it work? Why on earth do IPOs pop so reliably on the first day? (FB is an interesting exception)
The company is only going to be a market virgin once. They don't have a lot of experience as a public company, of course. They certainly don't have a list of funds who are going to buy their stock, that's why they hire an investment bank to help them.
So what does the IB do? Well, they are most definitely not IPO virgins. They do however need to maintain relationships, so that they can tout their relationships to future IPO firms. So how do you do that? Of course you price the offering so that shares are scarce. That way you get two things. One, a reputation for presenting fund clients with almost sure winners. Two, a reputation for having ample access to buyers for your IPO firms. Three, funds will listen to your sales pitches (across many lines of business) because they know that now and again the IB will hand out goodies to their friends.
For instance a lot of Hedge Funds have backup prime broker accounts just in case bad things happen. The PB folks love to sign up funds because it's a foot in the door in case you get angry with the primary PB. So what do they do? They make strong hints that you should open an account so you can get some free money now and again. The amount of free money can be quite substantial per client, in the tens of millions for the largest funds. Ordinary desks will likewise say "hey trade with us, we'll see to it you get something in return from our IPO guys". Now naturally not everything promised can be delivered.
Why does the stock always pop on IPO? Why don't people who aren't allocated shares just walk away? I think this is psychological but seeded by the low-pricing dynamic. If you know the bank knows how many people are interested at different prices, and that they'll price it low, you know the price will go up. But everyone buying is going to augment that, especially if missing out on an allocation means you have to make up that PnL by jumping on the obvious trend.
BTW, rights issues are a similar dynamic, driven by access to shares that can be lent out for short selling. Free money for people who get the shares, bank decides who they want to do business with in the future.