Add IDs to placeholder elements.