Costs of controversial ID cards reaches a huge £17m with consulting firm paid £12m, according to exclusive figures obtained under the Freedom of Information Act