Both constructions can point to the same person, and straightforward examples may admit more than one grammatical analysis.
جَاءَ أَبُو حَفْصٍ عُمَرُ.
Here the text calls «عُمَرُ» ʿaṭf al-bayān; some analyses of such forms can treat the second term as whole-for-whole badal.
In exposition, ʿaṭf al-bayān clarifies the first label; in badal the second item is the primary target of the predication.