This function is used to obtain the distinct_id of the current device.
Sample Code
const distinctId = solarengine.getDistinctId();