This function is a generic function to create formattable
object, i.e. an object to which a formatting function and
related attribute are attached. The object works as ordinary object
yet has specially defined behavior as being printed or converted to
a string representation.