Set ID properly