A student is given an unknown sodium halide solution and carries out two tests.
Test 1: Acidified silver nitrate is added, giving a pale yellow precipitate.
Test 2: The precipitate is treated with concentrated ammonia solution and does not dissolve.
Deduce the identity of the halide ion in the solution.
[1]
Justify your answer using both test results.
[2]