Design pattern for representing hierarchies in relational databases.