There was a hidden message in this 19th-century dress, researchers have finally discovered its meaning by Sonia Mullen