John Swinney pledges to tackle mistrust in 'named person' scheme