implement new unique_tail formatter. resolves #230.