New legislation aims to prevent offenders from concealing identities