The legal appearances of dementia in court rulings: mapping the terrain