Added some abstract methods to the base-component so that we could set an...

...d get the primary key.