The general rule for roundabout’s is that it uses the same rank as the most important road that connects to it. So I guess the same rule could be applied to the ranking as well as the name of the junction.