Convert owner to id