Add ids to principal sections, update portfolio data with anchor to ids