A unified treatment of exactly solvable trigonometric potential models