add format identifiers for compatibility with older python (2.6.5)