Measurement in the Age of LLMs: An Application to Ideological Scaling