Unified method to retrieve subscription id