Give paragraphs a proper ID prefix