basic id to doc referencing