Pre-Computation of username for better customization and performance.
Username is assumed to be always in the format 'Firstname + Lastname'. Code base has tight binding to this computation and currently there is no way to decouple this approach. Also computation of username happens in runtime and could take extra processing always.
To overcome this issue we can pre-compute username like record label and reuse this in all the areas where it is processed separately. This adds following advantage.
- Performance - Computation overhead is cut down
- Customization - Allows to customize the name fields