Fix embedding IDs and provide anchor for image formatter's table.