Adding alias validation as per the rules described on GCP-9921 and GCP-9920. Note that the translation is not properly passed through in the trial manager - there is an outstanding TODO to deal with this. I need to talk to whoever implemented the angular to deal with this.

Issue: GCP-9920, GCP-9921
Reviewer: Lisa Quayle - post commit