Represent lifetimes as Names instead of Idents

Closes #7743.