entitlement to legal aid