Text this: Analysis and improvement of an ID-based authenticated key agreement protocol