There are times where you have to gamble and try to win a flip, such as when you're shortstacked, but putting a deep stack in the middle pre-flop with a medium pair is a huge gamble and not worth the risk. Part of the "skill" is avoiding flips unless absolutely necessary.
If I'm going to play a mid PP I'll flat a raise in late position depending on stack sizes and who is raising, but calling a 3-bet with the original raiser still yet to act is going a little too far for me.
I always raise with mid PP in unopened pots and blind vs blind situations, in a multi-way limped pot I often just check/call pre from the blinds and see if I hit a set. There's no point in throwing in a big raise with a medium pair out of position against a bunch of limpers then having to give up when the flop contains Broadway cards. In my experience, the amount you would have to raise pre-flop to get rid of most of the limpers is way too much to be putting in the middle for a mid PP.