Walaal I already know we had our names but that name came literally 200-400 years later after the prophet death.
There is no source during the era of the prophet saw mentioning or his companions saying “Berber “ or “bilad al berber “
the name hashesa was referred to anyone on the Horn of Africa so if Somalis during the era of the prophet saw went to Mecca
He was literally to be called hashesa
This was a poem made by an arab man, he lived during the 400ad
أبعد أبي في حصن كندة سيداً
يسود جموعاً من جيوش
وبربرا
ويغزو بأعراب اليمانين كلهم
له أمرهم حتى يحل المشقرّا
Translation
My father was removed from the Kinda fort as a master
He reigns in crowds of armies and barbara
And invade all of the Arabs of the two Yemenis
He commands them until al-Mushaqra comes to pass
heres another one
على كلّ مقصوص الذّنابى معاود بريد السُّرى باللّيل من خيل بربرا
Translation
On every clipped tail, the secret mail is returned by night from Barbara's horses.
The first ones to call us barbara were the greeks around 1st century ad