Detection, determination and separation of metal ions with special reference to iron, titanium, aluminum and beryllium