With a pattern-id you can identify different patterns in the ringintone for the later use. So, if you want to use the same pattern later in the ringingtone, you don't have to write the whole pattern again, but you can refer to the pattern with a pattern-id.