Detection, determination and separation of metal lons with special reference to iron, titanium, aluminium and beryllium