put this to your Rails model include HasIdentifier

use migration t.indentifier

Add prefix via self.identifier_prefix = "A"