pull shard_id from conf as an int