Assign valid user ids to posts and comments.