Describir: Theory of Zipf's Law and Beyond