Added some abstract methods to the baseComponent so that we could set and get the primary key.