Add a few alternatives for defining references

The added alternatives would support an
"alter table" like workflow, where all involved
base relations would have to be defined before
references can be defined.