New technique to root out hair dye could help police solve crimes.