Yes, you are right. I think it's fine to initialize pubnub android in set configuration call itself and then set the client identifier.