Using MobileProtect you can add a custom user identifier which will be attached to events sent by the SDK, you can do so using the following:
Android
MobileProtect.setUserIdentifier("your user identifier")
iOS
[DTMobileProtect setUserIdentifier:@"user_1"];