Development of social work in Scotland, Scottish legal framework, Aspects of family law, Children in need of care, Compulsory measures of child care, The criminal justice system, Mental health, The elderly, The chronically sick and disabled, Education and special educational needs, Aspects of welfare law and Social workers and the law