Add id to new post metadata