Give the ref template a sane name

Also re-instantiate the old name as an attribute for backward-compatibility.