For thirty years, the regime in Iran has been a puzzle to most Iranians and a mystery wrapped in an enigma to the outside world.