The head of the Trades Union Congress Frances O'Grady has warned the government not to cherry pick some public sector workers for a pay rise.