To the first part yes: each id should appear twice. To the second part no, its not any more difficult.