Ramdom question

bug

When baby is born and you haven't quite named it yet, what's it called? Baby 'surname' and if so what if you and your partner aren't married, who's surname is it?