adds deep ink IDs to section heads