Figure 2. Generate new application ID