generator: remove getID/setID functions from js, fix iOS native part