A fundamental identity for Parseval frames