Once you have restored/recovered the database simply use the nid to rename the database.