Escape component keys used in reactid