Rename relations api namespace from id to relation_id.