probably escape the id once and use the escaped value everywhere then.