Escape the reference, so it can be safely used as an id.
Replace '@' and '.' characters.
Find renewal by reference.