Public opinion on Scotland introducing assisted dying is almost evenly split between those in favour and those opposed.