issue #5963: replace touch.getId with getID in samples