Easily provide python objects with self-identification