Creating an extension method to get a field's formatted message