Generic identification and constructor.