support hyphens in reference names