Check for primitiveness before attempting to define a property