Reactions between fibres and dyes