People buying knives online will be asked for two types of identification as the government plans to prevent underage sales following the murder of three girls in Southport.