I highly recommend the book Joy of Mixology by Gary Regan. It categorizes cocktails into logical groupings that explain how to methodically substitute an ingredient to adjust the flavor without creating an imbalanced drink. Most unique cocktails you find at bars are twists on existing themes, so once you grok those fundamentals it becomes easier to recognize what was tweaked.