You can remember the meaning of 姓名 with this easy mnemonic:
Do you prefer to be called by your surname (姓) and your first name (名), or just your first name?
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.