Add id to path