When a divorce is granted the court of common pleas shall, if the person so desires, restore any name that the person had before the marriage.