Simple - playing with better players means more high quality possessions that end in a higher percentage scoring opportunity. If you are surrounded by good players, your team will have fewer turnovers, more assists, more rebounds, more steals, etc. All of which lead to more possessions and more quality scoring chances. PER compensates for pace, but it does not compensate for playing with a bunch of guys who constantly turn the ball over, get abused on the boards and can't make an open shot.
For example, if you play with a bunch of guys who can't hit a wide open shot, you're probably not going to rack up a lot of assists. If you play with a bunch of dead-eye shooters, you will see your assist total increase as they are more likely to make the shot when you pass them the ball. If your assist total goes up, so does your PER.
Similarly, if you play with a great passer/playmaker, you will get more easy scoring opportunities (open shots, easy baskets in transition etc.). Go back and look at the PERS of guys like Shawn Marion and Boris Diaw. They both posted career highs in PER when playing with Steve Nash. And, before you dismiss this by saying, "sure, everybody puts up big numbers in D'Antoni's fast paced system", remember, PER factors in pace. Not only did those guys put up the best raw numbers of their careers, they also produced at their most effecient when playing with Steve Nash.
Good rebounders and good defenders also mean more possessions and more easy scoring opportunities.
Playing next to a superstar who is the focus of the other team's defensive game plan, and draws constant double teams means more unguarded open looks and more easy scoring opportunities for everyone else. Horace Grant, Scottie Pippen, Toni Kukoc all had the highest PERs of their career splaying beside Michael Jordan - and all saw their PER drop by 3 - 4 points upon being traded. John Paxson, who was never a great player, saw his PER drop to single digits when Jordan left to go play baseball. I'm sure there are many other examples of players benefitting from playing with a superstar who diverts defensive pressure and nets them higher quality scoring opportunities.
So, yeah, I do think being surrounded by quality players can help a players PER - especially if that player's role doesn't change dramatically. Obviously, a player's individual stats can benefit by going from a 7th man on a great team to the number 1 scoring option on a crap team. For example, Tony Campbell saw his PER jump fropm 12.5 - 17.1 when he left the Lakers for the expansion Timberwolves. Of course, he also saw a dramtic change in his role as his minutes increased four-fold from 787 to 3164 and his FGA/A skyrocket from 5.5 to 19.3. Obviously, this greatly expanded role allowed him more opportunites to pad his stats. For a player who stays with the same team and plays a similar role, such a huge increase in production is highly unlikely.
BNM