You probably would like egg in your beer as well! LOL At one time there was only one code B31.
As time went on other industry needs surfaced.... one of the biggest industries that had may unique requirements were cold piping systems.
I was because of unique needs that B31 Became B31.1, B31.3 etc.
If you compare closely B31.3 and B31.1 you will find vast differences in materials and fabrication.
Now as for design it is my opinion that certain tasks should be the same across codes... hoop stress, fatigue SIFs etc.
But the codes are consensus-based committees and some members just don't care about what the other code says about certain things.
I suggest you do some detailed studying and if you ever get a chance attend a committee meeting or two and you will understand what should really be the same and what shouldn't.
_________________________
Best Regards,
John C. Luf