Merge "Add helper function to extract app ID from shared app gid." into mnc-dev