UDF for assigning session ids"