Move IDS generation to GeneratedIDS class.