Identifying pipe stems