Text this: The origins of residential child care in Scotland