Adds custom title behavior which allos to set the title/id of an object easily.