Identifying Legal Holdings with LLMs: A Systematic Study of Performance, Scale, and Memorization