When createing a primary key for an object table, the template for the primary key name is not used. SDDM (3.1.4 and prior versions) is adding the string "Oid_" in front of the default primary key table name. So instead of "TABLE1_PK", the default name is "Oid_TABLE1_PK". It doesn't look like the template is being used by Object tables.