Asking seniors their name

In residency, is it bad or highly disrespectful to ask an immediate senior his or her name directly? I'm not pissed off or something but Is it that bad? Wanna know your thoughts