Add id methods for polymorphic relationship and add uid to slides