Escape id before using it as a selector