PlayerID used in SendServerNotification

A number of places require an integer ‘playerID’ (SendServerNotification for one), has anyone worked out how to derive this?