Raise ArgumentError when GlobalID.app is nil