You typically use the accountId attribute for systems with a flat namespace, which include:
UNIX systems
Oracle and Sybase relational databases
For resources with flat namespaces, the identity template can simply specify that the Identity Manager account name be used.