Text this: Lindstrom theorems for fragments of first-order logic