How Do I Use a ACF Custom Field To Add A Slider ID?

You need to use get_field() function instead. It will RETURN the value instead of printing.
So, your code will be:

soliloquy( get_field( 'slider' ) );