Add patch to DSL for generating IDs