IDs and caption numbering.