Legislation, which could record the details of domestic abuse convicts in a similar way to the Sex Offenders Register, could "save lives", an MSP has said.